Batching and routing is the ShareScan capability to split a scan job into separate batches and handle/process/route the output documents independently of one another.
For instance, you can scan a stack of sheets and have a separate document created out of every ten-page batch. If you scan, say 40 pages, you can have 4 output documents created out of this single scan job. For every document, you can specify file format, connector target, etc.
All ShareScan connectors support batching.
All connectors support batching in a scenario when either
There are two basic types of batching:
Batching or batch processing involves the automatic execution of scanning jobs on MFP devices with the help of pre-written scripts/algorithms without the need for human or any other form of intervention. If you have a large stack of hard copy documents to scan, you can easily split them into several smaller batches according to your different scanning needs. You can direct these diverse scanning tasks to multiple devices/destinations and they will be completed without interruption.
There is a difference in the way ShareScan handles batching scenarios in pre-5.2 versions and in version 5.2 and higher.
Versions prior to 5.2 implemented so-called 'native' batching: all pages/documents and batching data are sent to the connector in one pass, and the connector is responsible to process every document selecting the proper batching data. The procedure is the same in both Online and Background mode.
Not all connectors have native batching capabilities - and some are capable of this when in Express mode (no end-user interaction is required at the MFP).
To make batching available for connectors without this capability and to eliminate the need to modify existing 3rd party connectors, ShareScan 5.2 offers 'automatic' batching.
This model is driven by a Document Service assigned to the connector profile: every document created from the scanned pages is sent sequentially to the connector with the proper routing and indexing data belonging to the document. The connector behaves exactly the same way as it was used with a simple scanning job with the pages of the 1st document, then the 2nd etc. This also means that if configured so (non-Express mode), all connector forms are displayed on the device. But generic forms or those belonging to the document services are not displayed again before sending the 2nd, 3rd etc. document to the connector.
Original connector functionalities are redesigned since ShareScan 5.4 to make their usage more comfortable.
Connectors can be grouped based on how their functionalities are changed:
CORRECTED original functionality:
Connector |
SupportsNativeBatching InExpressMode |
SupportsNativeBatching InUIMode |
ExchangeMail ExchangeFax SMTP via LDAP SMTP Fax Worksite other Kofax connectors |
Yes |
No |
EXTENDED original functionality:
Connector |
SupportsNativeBatching InExpressMode |
SupportsNativeBatching InUIMode |
QuickConnect ScanToFile SharePoint |
Yes |
Yes |
To help you choose which batching behavior to use, consider the following:
Native batch processing support depends on two connector capabilities:
Name | Description |
SupportsNativeBatchingInExpressMode | The connector supports native batch processing ONLY when the connector profile is configured as an express profile (when the connector profile displays no screens on the MFP, so there is no user interaction). |
SupportsNativeBatchingInUIMode | The connector supports native batch processing when the connector profile is configured to display connector screens on the MFP (user interaction is required at the device). |
These capabilities are described as service settings for every connector in the <connector name>Services.xml
files located under the connector data folder.
In this file the supports-NativeBatching setting specifies the SupportsNativeBatchingInExpressMode
capability and the supports-NativeBatchingInUIMode setting specifies the SupportsNativeBatchingInUIMode
capability.
Example: (Worksite connector - supports native batching in Express mode only):
file name: WorksiteConnectorServices.xml
file location C:\%programdata%\Kofax\ShareScan\Connectors\WorksiteConnector\Data
Settings:
If these settings are missing from this file, then ShareScan behaves as if the connector did not support native batch processing at all. (This is the case with 3rd party connectors.)
If the connector profile has no Data Published value coming from the scanned document, ShareScan selects native batch behavior. ShareScan does not display an error message on whether the connector supports native batching or not. As this is not a document dependent batch situation, the Data Published value is the same for every document in the batch. This can occur when a document service Published key is not mapped to a connector Published key in the connector profile (for example, if the connector uses only Client and Matter Published keys coming from Cost Recovery system).
Note:
Do not modify these factory connector settings.
These settings are described in this file so that 3rd party connector batch processing behavior could be modified simply on connector level.
You can also modify connector batch processing behavior by configuring new advanced settings related to batch processing behavior (see later).
If you are using automatic batching, connector behavior depends on the Background processing setting.
If Background processing is enabled the connector behaves as if the user had clicked the Done button on the last screen and had scanned the pages of the next document with the same settings.
If Background processing is disabled the connector behaves as if the user had clicked the New document button on the last screen and had scanned the pages of the next document with the same settings.
ShareScan is able to determine if batching is needed: if a document service (assigned to the given connector profile) uses document splitting, the ShareScan system treats this as such a case.
ShareScan automatically selects either native or automatic batch behavior. Unsupported configurations display an error message.
Based on connector batch supporting capabilities, configuration and other settings, it automatically selects the batch processing behavior to be applied.
Connector | Express mode (no end-user interaction) | non-Express mode (end-user interaction) | ||
---|---|---|---|---|
Online |
Background |
Online |
Background |
|
Quick Connect, SharePoint |
native |
native |
native |
native |
Exchange Mail, Exchange Fax, SMTP via LDAP, SMTP Fax, Worksite |
native |
native |
n/a |
automatic |
Other Kofax connectors |
n/a |
automatic |
n/a |
automatic |
3rd party connectors |
Native if implemented, otherwise n/a* |
Automatic* or Native and selectable by an advanced setting |
n/a (possible to override by advanced setting*) |
Automatic* or Native, selectable by an advanced setting |
*If there are no connector DP keys mapped to the DP keys of a document service assigned to the connector profile, the Manager executes native batching to preserve compatibility.
In order to use batching with connectors, you do not need to perform any specific actions during connector profile Data Publishing mapping configuration. The Data Publishing can be configured in the regular way, and when the batching is available from the Document Service side, and the specific connector allows for batch processing, the connector processes data in batched manner.
Note:
Be aware that when batch processing is executed, exceptions do not stop processing, but they are traced, and an error report is included into the notification message of the Notification service, if Notification is configured. For more information on the Notification service, click here.
Connector |
SupportsNativeBatching InExpressMode |
SupportsNativeBatching InUIMode |
QuickConnect ScanToFile SharePoint |
Yes | Yes |
ExchangeMail ExchangeFax SMTP via LDAP SMTP Fax Worksite |
Yes | No |
Other Kofax connectors | No | No |
3rd party connectors | No | No |
The following tables summarize automatic batch processing behavior selections based on connector capabilities and default capability settings.
Default capability settings:
Connector |
Express mode (no UI) |
Normal mode (with UI) |
QuickConnect / ScanToFile Kofax SharePoint |
Native | Native |
Exchange Mail and Fax SMTP via LDAP and Fax Worksite |
Native |
Not supported (*) |
Other Kofax connectors 3rd party connectors |
Not supported (*) |
Not supported (*) |
Default capability settings:
Connector |
Express mode (no UI) |
Normal mode (with UI) |
QuickConnect / ScanToFile Kofax SharePoint |
Native | Native |
Exchange Mail and Fax SMTP via LDAP and Fax Worksite |
Native |
Automatic (*) |
Other Kofax connectors 3rd party connectors |
Automatic (*) |
Automatic (*) |
There are two advanced settings which enable ShareScan Administrators to select the batch processing behavior (automatic or native batching) for a connector profile. Use these settings to support batch scenarios by default unsupported by ShareScan (mostly 3rd party connectors).
ConnectorsAllowedToSelectBatchBehaviorInBackgroundMode
The value of this setting is a list of connector IDs where batch behavior can be selected if Background processing is enabled.
ConnectorsAllowedToSelectBatchBehaviorInOnlineMode
The value of this setting is a list of connector IDs where batch behavior can be selected if Background processing is disabled.
If a connector ID is in the list, then you can select batch behavior at the profiles of this connector.
Connector IDs are stored in the registry under the following key:
HKEY_CLASSES_ROOT\eCopyShareScan\Connectors\<ConnectorID>.MainControl\ConnectorID
If the connector ID appears in one of these settings' value, then an Automatic batching checkbox is displayed under the Services group on Settings pane in the Administration Console.
This checkbox is displayed only if a batch processing is configured (a document service is assigned to the connector profile configured to split the scanned pages into more documents).
If this Automatic batching checkbox is ticked, then Automatic batching is used, otherwise Native batching is used. If the ConnectorsAllowedToSelectBatchBehaviorInBackgroundMode
value contains the connector ID, then the checkbox is displayed if Background processing is enabled at the profile. If the ConnectorsAllowedToSelectBatchBehaviorInOnlineMode
value contains the connector ID, then the checkbox is displayed only if Background processing is disabled at the profile.
If a Data Publishing value is set before scanned pages are split into more documents, it is applied only to the first document.
The rest of the documents will have the default value of the Data Publishing key.
This is the case when a Database Lookup Extender profile is processed before the document service/extender profile configured with split option or with connector-based splitting (i.e. splitting by Number of Pages, File Size, Blank Page).
The new PublishingKeysForAllBatches
registry setting makes it possible for these types of Data Publishing values to be applied to all batch documents.
To achieve this, the names of these Data Publishing keys must be specified (separated by semicolon) as a value of this registry setting.
Key = HKLM\Software\{Wow6432Node\}Kofax\ShareScan\ShareScanManager\
Name = PublishingKeysForAllBatches
Data = Fully qualified source DP key names separated by semicolon
Example:
LookupDocumentService.default.GEO
where LookupDocumentService
is the name of the extender, default
is the name of the profile and GEO
is the Data Publishing key name for that profile.
For all Data Publishing source keys listed in this setting, the connector uses the Data Publishing source key value of the first document for all documents when they are mapped to a connector Data Publishing key.
The Worksite connector can support batching for those profile configurations which do not require interaction from the end-user. Thus, you have to have a single destination set, or you must have folder navigation disabled (meaning no navigation screens are displayed on the MFP screen). For properly routing the processed documents, you must also provide the relevant credentials, so Worksite can perform the tasks without having to prompt for user interaction.
To achieve a fully automated batching and routing in your workflow, the following configuration settings are required:
When all the above requirements are met, the Worksite connector supports batching for all of the published keys.
For more information on Worksite connector customization, click here.
The following configuration settings are required for batching support:
If there is no column configured as a Published column, the Column Information form is displayed independently from the batching mode and the column values specified by the user are set to all documents in the batch.
In this case the location where a document has to be stored can come from data publishing.
Documents in the batch can be stored to different locations depending on the batched published value without any user interaction. The Navigation form is not displayed.
If the ColumnInformation is not displayed in this case, the document is stored with content type and column values specified on SharePoint server within Administration Console. Otherwise they are retrieved from data publishing depending on Retrieve Content Type from Data Publishing setting, Auto-index show option and column settings.
In this case the content type of the document to be stored can come from data publishing. Documents in the batch can be stored with different content type (and so different column values) depending on the batched published value without any user interaction. The ColumnInformation form is not displayed so the user has no possibility to set any column values on the device even if All, Required or Auto-Index show option is configured.
In this case, the connector attempts to use batched published data in those columns that are configured as Published columns (signaled by the highlighted key icon before the column in the column list) in the automatically selected runtime content type.
The runtime content type is
Runtime location is
In this case the ColumnInformation form is not displayed and the connector tries to store the document with the proper batched published column values.
The ColumnInformation form is displayed in batching mode only if
In this case the column values specified by the user on ColumnInformation form will be set to all documents in the batch as in the earlier versions of the connector.
The following procedure outlines an example for using the SharePoint connector in connection with Business Automation, Image Control, and Data Publishing to automatically route and store documents to specific SharePoint locations using information gained from the barcodes located on the scanned pages.